// vue use 的时候会调用install方法   属于vue.use的机制
// 会传一个vue过来，执行install里面的代码

import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import ImgUpload from './ImgUpload'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import Lang from './lang'
import TagsView from './TagsView'

export default {
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImgUpload', ImgUpload)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('Lang', Lang)
    Vue.component('TagsView', TagsView)
  }
}
